#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.log.convert;/**
 * Author :  LiJun Zhang
 * Description :
 * Created  in 2020/1/13.
 */

import ch.qos.logback.classic.pattern.ClassicConverter;
import ch.qos.logback.classic.spi.ILoggingEvent;

/**
 *@ClassName OsLogConfig
 *@Description TODO
 *@Author ZhangJx
 *@Date 2020/1/13 15:21
 *
 *${copyright}
 *Copyright (c) 2019. All Rights Reserved.
 */
public class OsLogConfig extends ClassicConverter {
    @Override
    public String convert(ILoggingEvent iLoggingEvent){
        return System.getProperty("os.name");
    }
}
